#include "widget.h"
#include "ui_widget.h"

#include<QIcon>

Widget::Widget(QWidget *parent)
    : QWidget(parent)
    , ui(new Ui::Widget)
{
    ui->setupUi(this);

    //设置图标
//    QIcon ico("C:/Users/zyy/Desktop/qt/black复选框.png");//在此指定图片的路劲
//    this->setWindowIcon(ico);

       QIcon ico(":/bluecheckbox-checked.png");
       this->setWindowIcon(ico);

}

Widget::~Widget()
{
    delete ui;
}

